#include "registerdialog.h"
#include "ui_registerdialog.h"

registerDialog::registerDialog(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::registerDialog)
{
    ui->setupUi(this);
}

registerDialog::~registerDialog()
{
    //delete ui;
}

QString registerDialog::getText()
{
    return ui->lineEdit->text();
}

int registerDialog::exec()
{
    ui->lineEdit->setFocus();
    QDialog::exec();

}
